<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8" isELIgnored="false" import="java.util.*"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>${partner.id==null?"添加":"修改" }短信合作商</title>
<script type="text/javascript">
	function onsubmits() {
		return true;
	}
</script>
</head>
<body>
<div class="youarehere">系统管理 &gt; <span>短信合作商管理</span>&gt; <span>${partner.id==null?"添加":"修改" }短信合作商</span></div>
<c:if test="${partner.id == null}">
	<chtml:command command="partner" title="添加"
		exclude="createTime" onSubmit="onsubmits()"
		action="/sms/savepartner" column="1">
		<chtml:button destination="/sms/savepartner" showText="添加"></chtml:button>
	</chtml:command>
</c:if>
<c:if test="${partner.id != null}">
	<chtml:command command="partner" title="修改"
		exclude="id,createTime" onSubmit="onsubmits()"
		action="/sms/modifypartner" column="1">
		<chtml:property index="0" label="编号">${partner.id }
		<input name="id" type="hidden" value="${partner.id }"/>
		<input name="createTime" type="hidden" value="${partner.createTime }"/></chtml:property>
		<chtml:button destination="/sms/modifypartner" showText="更新"></chtml:button>
	</chtml:command>
</c:if>
<!--说明   -->	
<div class="sm_info">
	<p class="row_one">说明：</p>
	<p class="other"></p>
	<p class="other"></p>
</div>
</body>
</html>